package com.itheima.springbootwebtlias.service;

import com.itheima.springbootwebtlias.pojo.PageResult;
import com.itheima.springbootwebtlias.pojo.Student;
import com.itheima.springbootwebtlias.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    //学员分页查询
    PageResult page(StudentQueryParam queryParam);

    //添加学员
    void add(Student student);

    //根据id查询学员
    Student selectById(Integer id);

    //修改学生信息
    void modifyStudent(Student student);


    //删除学员
    void deleteBatch(List<Integer> ids);


    void violate(Integer id, Short score);
}
